package com.ice.body.business.model;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;
import org.springframework.stereotype.Component;
import lombok.Data;
import java.io.Serializable;
import java.util.Date;
/**
 * Created by GuoYanBin.
 * Description:业务接口-试剂库存
 * Create Time: 2021-06-22 10:15
 */
@Component
@Data
public class ReagentStock implements Serializable {

    @ApiModelProperty(value ="id",position = 0)
    private Long id;

    @ApiModelProperty(value ="格子号",position = 1)
    private Long cabNo;

    @ApiModelProperty(value ="casNo",position = 2)
    private String casNo;

    @ApiModelProperty(value ="名称",position = 3)
    private String cName;

    @ApiModelProperty(value ="危化品单位名称id",position = 4)
    private Long unitType;

    @ApiModelProperty(value ="摆放区ID",position = 5)
    private String areaId;

    @ApiModelProperty(value ="摆放区名称",position = 6)
    private String areaName;

    @ApiModelProperty(value ="仓库id",position = 7)
    private String warehouseId;

    @ApiModelProperty(value ="单价",position = 8)
    private Double unitPrice;

    @ApiModelProperty(value ="序列号",position = 9)
    private String serialNo;

    @ApiModelProperty(value ="epc编码",position = 10)
    private String epcCode;

    @ApiModelProperty(value ="试剂状态:0待入库,1在库;2借出;8销毁,9过期",position = 11)
    private String state;

    @ApiModelProperty(value ="杂质",position = 12)
    private String impurity;

    @ApiModelProperty(value ="有效期止",position = 13)
    @JsonFormat(pattern = "yyyy-MM-dd")
    private String expireTimeEnd;

    @ApiModelProperty(value ="规格",position = 14)
    private String specification;

    @ApiModelProperty(value ="纯度",position = 15)
    private String fineness;

    @ApiModelProperty(value ="厂家",position = 16)
    private String factory;

    @ApiModelProperty(value ="批次号",position = 17)
    private String batchNo;

    @ApiModelProperty(value ="订单号",position = 18)
    private String orderNo;

    @ApiModelProperty(value ="总重量（包含瓶）",position = 19)
    private Double totalWeigh;

    @ApiModelProperty(value ="净重（单位为克）",position = 20)
    private Double leftWeigh;

    @ApiModelProperty(value ="报警重量",position = 21)
    private Double lowerWeigh;

    @ApiModelProperty(value ="创建时间",position = 22)
    @JsonFormat(pattern = "yyyy-MM-dd")
    private Date createTime;

    @ApiModelProperty(value ="入库时间",position = 23)
    @JsonFormat(pattern = "yyyy-MM-dd")
    private Date inStockTime;

    private Integer totalCount;

    @ApiModelProperty(value ="打印张数" )
    private int printCount;


}
